﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace NasuTek.Shion
{
    public partial class ConfigEditor : Form
    {
        public ConfigEditor()
        {
            InitializeComponent();
            propertyGrid1.SelectedObject = Form1.config;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            MessageBox.Show("Changes in the Server area will change on next restart.", "Shion", MessageBoxButtons.OK, MessageBoxIcon.Information);
            Form1.SaveConfig();
            this.Close();
        }

        private void ConfigEditor_Load(object sender, EventArgs e)
        {

        }
    }
}
